package com.yufuchang;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by yufuchang on 2020/9/4.
 */
@RestController
public class InterceptorController {

    @GetMapping("/interceptor1")
    public String getInterceptor1(){
        return "拦截器测试1";
    }

    @GetMapping("/interceptor2")
    public String getInterceptor2(){
        return "拦截器测试2";
    }
}
